﻿<%@ Page Title="Add Person" Language="C#" MasterPageFile="~/ASP/MasterPages/MainMasterPage.Master" AutoEventWireup="true" CodeBehind="AddPerson.aspx.cs" Inherits="BulkSMSapplication.AddPerson" %>


<asp:Content ID="AddPersonContent" ContentPlaceHolderID="MasterContentPlaceHolder" runat="server">

    <div style="height: 373px" class="AddPersonStyleSheet">
        <link href="../../CSS/AddPersonStyleSheet.css" rel="stylesheet" />
        <div style="padding-top: 70px;">
            <br />
            <div style="margin-left: 1px; padding-bottom: 50px; top: 120px; left: 129px; width: 469px;">
                Please fill in the person information below:</div>
        <table style="width: 100%">
            <tr>
                <td style="height: 30px; padding-top: 5px;">First Name:</td>
                <td style="height: 30px; padding-top: 5px;">
                    <asp:TextBox ID="TextBoxFirstName" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBoxFirstName" CssClass="smallErrorText" ErrorMessage="Please enter a first name."></asp:RequiredFieldValidator>
                </td>
                <td style="height: 30px"></td>
            </tr>
            <tr>
                <td style="height: 30px; padding-top: 5px;">Last Name:</td>
                <td style="height: 30px; padding-top: 5px;">
                    <asp:TextBox ID="TextBoxLastName" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TextBoxLastName" CssClass="smallErrorText" ErrorMessage="Please enter a last name."></asp:RequiredFieldValidator>
                </td>
                <td style="height: 30px; padding-top: 5px;">&nbsp;</td>
            </tr>
            <tr>
                <td style="height: 30px; padding-top: 5px;">E-mail:</td>
                <td style="height: 30px; padding-top: 5px;">
                    <asp:TextBox ID="TextBoxEmail" runat="server"></asp:TextBox>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="TextBoxEmail" CssClass="smallErrorText" ErrorMessage="Please enter a valid E-mail." ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
                </td>
                <td style="height: 30px; padding-top: 5px;">&nbsp;</td>
            </tr>
            <tr>
                <td style="height: 30px; padding-top: 5px;">Phone:</td>
                <td style="height: 30px; padding-top: 5px;">
                    <asp:TextBox ID="TextBoxPhoneNumber" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="TextBoxPhoneNumber" CssClass="smallErrorText" ErrorMessage="Please enter a phone number."></asp:RequiredFieldValidator>
                </td>
                <td style="height: 30px; padding-top: 5px;"></td>
            </tr>
            <tr>
                <td style="height: 30px; padding-top: 5px;">Address:</td>
                <td style="height: 30px; padding-top: 5px;">
                    <asp:TextBox ID="TextBoxAddress" runat="server"></asp:TextBox>
                </td>
                <td style="height: 30px; padding-top: 5px;">&nbsp;</td>
            </tr>
        </table>
        </div>
    </div>
&nbsp;&nbsp;<div>
    <div>
        <asp:Button ID="ButtonAddPerson" runat="server" Text="Add Person" CssClass="addPersonBottom" OnClick="Button1_Click" />
    </div>
</div>

</asp:Content>

